hack bed reader to support rgb fields that are single number instread of three values