Fixed some Syntax.
fixed some bugs