A few fixes for bad api