Fix some bugs and implement unimplemented parameters in the corner pin