fixed warnings in utils.h