make bin serializer compile