fixing proxy invocation with Bubblesort