include warning settings in project + some code changes