fixed my broken main