Fix chipstate