fix bug with chairs plugin