fixed small syntax issues