remove deprecate method and replace to new one