Bug fixes

Fixed encoding
removed useless dependecies