minor fixes and frontend polishing