fix for action bar issue #989