adding gain param control to edit page