allow insert of main block if main does not exist