tried to fix option monad but failed