fixed 3 of 4 spec tests