revert my broken code