fix params verification