Fix $remove always remove the first one item 

Fix $remove always remove the first one item