fixed minor syntax bug 2