fixed view syntax deprecation