fixed deprecated function call