Fix bugs with front-end

extra line