Change position in the function to solve a bug due to service lifecycle