Fix enter in prog mode