fixed scalefact application