Fixed random compilation bug