Fixed bug that was preventing garbage output lpKWm