bug fixes in exercises