Fixed bugs regarding printing backwards