fix static_target_simulator. wrong implementation of random phase shift