fixed mask issue