assign result of inline newtype application to correct variable, fixes #289