fail when no serialize is specified