fix for worst with one element