using your example together with the code from branch develop does not produce the error.