make sure params are there.