bugfix: expand button shown after expand