fixed a bug that occurs when no issue saved but still exists one