fixed a small issue with on the frontend view