BUGFIX: throw statement ended up broken in case of nulls.