remove the # any everything that follows from url