fix for situation if "which"doesnt exist