modify controller case