refactoring: change some compiler warnings for lint warnings