fix some bug and modified the Detail info