Remove unnecessary varible declaration
Fix syntax error

Software is fun to use when it works.