removing spaces and adding homepage