Fix CID 1240150, 1240149, 1240151