fix the maskSelector