Handle warnings in measure pkg