fix issue https://github.com/seba--/sugarj/issues/49