show correct render mode on refresh