fixed another type error that compiler didnt catch immediately