refactored local/aliases and fixed a ps-procsng bug caused by live eval of a function