fixed trailing / problem