actually fixed the problem; empty had been replaced by is_empty in the new SDK