corrected bug during compilation