some validations for primer creation