fix custom type display