some front end fixes