make client id configurable by user, printing fix also