fixed fall through error in case statement