fix check alias and add separator for menu