minor fixes to frontend