fix some frontend stuff