Fixed some bugs in take command and corrected some spelling