change deprecated functions from previous reborn version