small bugfix prevents model from adding empty gene