Ugly code for force-reload