fixed a bug regarding documentclass method removal