front end bug fixes