got rid of errors on startup