fixed call to removed plugin function