fixing embedded peristent_pineapple
working version 1.0