convert option to number if not '*'