Fixed deprecated view