Fix of atmos input exploit

What on tin
Fix #5822