Errors gone

Pretty simple but it functions with no errors