Fixing bug Serializer