fixed wrong param passed