small bug fixes in fuse layer read and write