fix bug(how to calc array size is invalid)