update: fixed formatting issues in print messages.