compiler strange bug