fix showdetails
dont scope when only one element