fix init view