fix for syntax warning