remove unnecessary null