fixed error for target