Fix maintenance command