Removing REAL_TMP_SCALE hack