add bool in serializer