add compatibility hack for gpio stuff