fixed small case statement error