got rid of print bug