disable 'unsafe mix of type' warning