fixing an issue that occured when no execute tags existed