Fixed and bug caused by old syntax.