fixed some snytax issues