resolving undefined references for serializer