fix print func - ok now