Few fixes

- Rate is returned as a float
- os.join.path() now used