Fix cast operator