Minor compatibility bug fix