fix usage printing and parameter handling