minor: fixing order of operations
paths: making paths more platform independent
minor: fixing method name