fix to flag type
ylim generic