corrected IF issues & simple types upstacking