Fix missing params check