bacterial query now gets properly copied to tmp