partial fix for https://github.com/GsDevKit/zinc/issues/43