fixed compiler BUG