fix "excessive /" bug