fixing some front end stuff