fix user creation and formula dependencies