remove hash part