Fix bugs with front-end

Useless lines