fix dynamic fsync