bug in value mapping if/else indent