fix deploy not invalidating cache properly