fixed the front end