user functions init & fix case insensitive