as.data.frame was broken :(