Trying to fix a small data type error