remove unneeded case statement