added entity code validation check