fixed params parsing