fixed a bug, display weight