fix specs behaviour
normalize specs