moved get nid by sid to submission class