Fix variable type mismatch for s:paths

References #1.