remove a useless input/output
fix bounding box bug