korma entities declaration fixed