check mandatory options for associations and keywords