more front implement
fix query by date