temporary fix #47, this issue needs a permanent solution without depth argument