fixed the missing gt problem, fixes #406