fix scrutinizer issues with closure instead of callable