Fix bug on web service