this fixes another console error as per #10