add not_empty helper, fix flash helper