fixed constructor bug and 2 element removal bugs