fixed spec problem