replacing . with space code added