fixed call in provider