see [0] for more information.
fixes aports#10446 (closed), aports#12517 (closed).
[0] aports#10446 (comment 182169)