add - as extension delimiter
make alias handling more error proof