fix error

missing middle point var and js breaks;