deal with some warns