clean up misc warning