Register cshtml error fixed