changing item properties works inside slots