fixed arguments bug not receiving correct default value