hide range error in debug mode
bug found