fixes -h option