adding gpio cleanup