normalizes completion flags
pseudo-class typo, Fixes #30