fixed printing so it prints the right direction