fixed call to mergesort