fix class type
decrease stack size