fix params a little