fix incorrect branch in open_claws behavior