Fix scrutinizer errors