strict warning fix