compile bug fixed