fix params passing, add space to output