fix syntax warning