Version 1.1.
Fix possible fatal error in ternary operator