fixed print string and a few branches that needed the sign