cleanup old api Methods