fix error on app/detail