fixes error in the specs
Passes return value spec