fix slide bugs; update function-ext