[FIX] fix error from 5b5bb90673145db3dd21927c591f2b925ca55a6a
[FIX] cleanup, add documentation
Merge pull request #1 from hroest/fix/small_fix

[FIX] fix error from 5b5bb90673145db3dd21927c591f2b925ca55a6a