added fix for not getting fresh results on mysql