fix null pointer error in submission page