focus only when loaded