fix params count