delete some duplicate method and variebles of old position class