removed autonomous code and fixed simple typos

removed autonomous code and fixed simple typos