Code syntax bug fix