fixed syntax error, by jerryrigging