fix status function arguments

I made this bug in ddae6630134e989a643198fd32cfd2c823333238 commit, sorry