Fix bug in spec values cheking