updated validate logic to remove object, strip away format suffix