add support for project name with space an fix python check