Fix code notices