fix param parsing.