Fixing timing issues in simulate attack