sync body weight working, but promise not resolving