Fixed bug on tab key