Fix bug on select renamed fields