fixed initial random weight bug