fixed long annoying angular ui bug