Fixed nav property issue by adding virtual keyword