fixed issue in dealer registration