fixing the front end