Fixed pool index error
this and super class are now extracted.