fix eternal mask problem