fix pull bug