fix padding and prints