Fixed premature disposal of specs