Fixed it so the error isn't always showing