replace obsolete proc
!!FUN!!
Merge pull request #1465 from ESwordTheCat/riW3nfAj

replace obsolete proc