Draft: small bugfix in Pattern property