fix hover function typo
rearrange order for select and highlight