fixed issue with waiting printing too quickly