target() bug fixed