fixes #213 even in the embeded version