fix all errors