fix broken loading