fixed problem with rendering repeating views (view was doubling up)