Fixed syntax and errors.