solved config is undefined error
starting with edit mode