Fix yaffs2 error's