2174 - removed not needed sql from runafter