added flash error when temp data is set