removing deprecated functions and configs