fixed IDE warnings