Fix undefined method lan?