fixed some frontend issues