corrected syntax bug