no need to add slash anymore
fix silly logic error