Check params