Fix error message that's occurring on deploy