collapse create and deploy. fixes #11