Fixed bug of accept_parameters