fixed gang direction update error

fixed gang direction update error