solve duplicated app problem