make get function not to spoil its arguments