Fixing possible error

not sure what's causing the error, I'm guessing it's this