lowered maxSize
fixed maxsize