fixed error in lambda configuration