Sync to end of buffer to fix parse problem