remove error causing code