Cleaning some methods (to fix rangeBound crash)