remove unnecessary null declaration