trying to fix view rendering