removing warnings due to getsetreotypeapplication deprecated method