A kludge of an attempt to workaround errors