fix for drone.io (reverted from commit 00d3a570bdaa0a83a1ae51c639023282fb188965)