mask-mode: fixed warnings