fix file_scale