trivial fix for the local mode