fixed bug with promoting some Maybe values