fixed full path printing, str passing