debugging focus problem