null check added
all view port seem fine