fixed log when wrong nr of args