fixed LUN1271; wrote a test