fix show detials bug