fixes deprecated sdf methods (fixes #13)