fix type in parameter and response