remove far/near settings, fix mixuse of prototype