Fix bug on Oracle