some fixes for 'name' specification