bug in front end