create a new tenant not working properly.