fix fixture code