fix list module head and tail

there methods return optioned value