resolves first run errors #14