fix focus button not working