fixed minor bugs on pi (still a problem in new LLSB implementation)