task's 'insufficient rights' error output fix
removed redundant code