bug in creating application (not in ncp)