Fixed A Bug in equals() and prepend()