fixed a bug about over size