Fixed cast
Auto-gen