#127 fix erronous code at top of file