fix(syntax): prevent possible syntax errors

if position is `fixed`, a boolean `true` would be returned erroneously