remove redundant application directory