#22 added better error handling

Better error handling for the case where no mentio-items has been given.