error handle and info

update with argument error handling and the informations.