Removed testing lines that caused crash