fix timestamp filter
fix inner method error
fix bugs in OffsetManager
add integration test for OffsetManager