fixed an error in getdetails