fixing relative path to scaling factors