add flash error for sreate operation