Fixed the Null error.