small fix to security method

function name was wrongly typed