fixed crash caused by aide compilation