fixed a minor focus bug