fix params class