workaround for issue snapframework/snap-core#159