fix cases for mybatis