fix slider potential image url space issue