changed null check in synthesizerow