Kind of stupid bug - in stage phase it is not failed, but error. Fixing ifs to compensate.