Fixed typo bug in corner ordering