@chacha This line has the potential to cause an undefined index notice, would be good to do an `isset()` check here and provide a default fallback value.