some small changes about serializer