fixed printdetails