get default values from schema and cleanup