fix for img floats