[CORE] fix maskLevel is set with group id while it should be group level

See #144