handle None data