fix view inject bug