updated addtab validation

needs fix in uploading tab