remove deprecated calls

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>