Fixed some bugs due to removing all the print statements.