fix compiler crash