Remove bug fixing function