Updated Stargate bug fix