Fixed the shock velocity bug