BUG FIX
Add the support for corner type setting