fix #283, error on late startup