remove deprecated method to prepare for v6