small fixes print