fixed a bug on fixture