fixes for the front end.