rm deprecated functions
removing deprecated functions and configs