fixes in the frontend