params reading fix