Be more careful with pathes (fixes #3)