Fixed errors and added missing_error