fix fromPath bugs, ver to 0.9