miha-x64
fun <T> MutableList<T?>.removeNulls() = apply { removeAll { it == null} } as MutableList<T>
fun <T> List<T?>.filterNulls() = filter { it != null} as List<T>