Fixed syntax error from previous commit
Merge pull request #479 from jimi1283/miscimprovements

Fixed syntax error from previous commit