fix npe when depositing a points