fixed switch branch
fixed switch branch
get current fragment method
fixed switch fragment
fixed switch fragment