fix bug targetvalue