shell - fix when no mask choosen