clean up warnings handling, include, exclude