arrangement js bug fix