fixed syntatic errors