chagne return val on flash page to 0 on success