fix for main file param