Fixed an error that appeard out of nowhere