if path invalid ask and regenerate new path