another fix for insert log queue dao