fixed checking -h