fix to error 3