fix for serializer
updated script