fixes result()