fixing asset edit if validation break , type should not be blank