fixed several other deprecated warnings