one more check when building menu adapter