fix all errors/warnings