Fixed bug while control is not available in PE mode.