remove some apr leftovers