bags static client struct bugs

Signed-off-by: themuntdregger <themuntdregger@gmail.com>