Fix compiler crash