removed another deprecated function call