Fix bug in new camelcase method