mask in-bash fix