removed unused code of classpage