fix param name (deprecated) and port