Simple fix in YaPI