don't use methods deprecated in sf 2.3