fix view ready