Gate img ref fixed, starting bug hunt