repared compilation error