fix bug with alt_name

see #45