resolve all the warnings