#145 stack level too deep fix

#145