fix infosell lib - rescue if duration is undefined