Fix the front-end build failing