fixing attribute issues in razor file