important bug fixes related to undefined behavior during autonomous, intake goes during autonomous