fix using data in services