make menu highlight correctly
Fix using var outside create