fixed remake --on-demand