Trying to fix odd errors