fix bootstrap and deploy