manager payments bug fix