tune positions to ui