correct bug compilation