fix bug in dose_response_grid