Auto insert/remove params inputs when needed