fixed checkable layout problem.
added comments
corrected variable name to obey naming rule.
removed useless property.