added legacy parser for non-bed type masks