fix files and frontend