hide details if none