remove unnecessary lambda