Syntax error
Object reference error
Minor bugfix
fix of error made during testing