Fixed two unreachable errors