fixed something in serializer