Fixed specs locking up

Credit: Ivan Žužak