fix downloadcounter time problem with DQL query