fixing serializer