init in new tab works