type and var flags
POD fixes