dev_Deprecated API usage  and other warnings removal