bugfix, but still not working on the pi