fix paramater issue