Fixed errors in specs