fixed spacing issue that was invalidating a mysql statement