fix bug in managers