fixed at PHP 5.5

if there isn't a sequence,
it will come out an error
when I registed a new user