fixes syntax errors

Probably because a function can not be called 'in'