fix problems and view