solved callstack error

fixes #30