fixed test break and wrong parameter