Fixed bug

Unabled to check checkbox
Changed calculation algorithm of online string