fix to error 2