Fixed Typo in variable name

$collapse_key should be $collapseKey