fix task state assignment
use strong params for rate_many_page