fixed code position error problem