fix bug: register failure, create method