prevent double rendering of initial view