fixing genreflex serialization