fix passing arguments