diff --git a/resources/package/identifier/identifier.plb b/resources/package/identifier/identifier.plb
index 61644f5..83f54e8 100644
--- a/resources/package/identifier/identifier.plb
+++ b/resources/package/identifier/identifier.plb
@@ -147,17 +147,18 @@ as
     v_db_prefix   varchar2(30):= upper(get_for(p_db_prefix));
   begin
 
+     if(v_db_prefix is not null and instrc(p_db_prefix,'.') > 0) then
      select username
        into v_db_prefix
        from all_users
       where username= v_db_prefix;
+     end if ;
 
       return v_db_prefix;
 
   exception
     when no_data_found then
-      execute immediate 'grant connect, resource to "'||v_db_prefix||'" identified by "'||v_db_prefix||'"';
-      return v_db_prefix;
+      raise_application_error(-20001,'User '||v_db_prefix||' does not exist') ;
   end;
 
    function longin(p_val vargst)
diff --git a/resources/package/identifier/identifier.pls b/resources/package/identifier/identifier.pls
index 826e96a..8f5d625 100644
--- a/resources/package/identifier/identifier.pls
+++ b/resources/package/identifier/identifier.pls
@@ -2,7 +2,7 @@ create or replace package identifier
 as
 
   long_identifier_prefix  constant varchar2(10):= '<?php print ORACLE_LONG_IDENTIFIER_PREFIX; ?>';
-  identifier_max_length   constant number:= <?php print ORACLE_IDENTIFIER_MAX_LENGTH; ?>;
+  identifier_max_length   constant number:= '<?php print ORACLE_IDENTIFIER_MAX_LENGTH; ?>';
   empty_replacer_char     constant varchar2(10):= '<?php print ORACLE_EMPTY_STRING_REPLACER; ?>';
 
   type serial_info is record
