another changes for some deprecated lines

removing some deprecated lines