prevent 'undefined' strange bug
clean up