fix removePane