Fixed IDE warnings