added validity check for gene ids