fixed inserts into GHotfix
fixed query in GHotfixResource