removed minor code