fixed some syntax mistakes