Fixing compatibility bug.