bug fixing and first implementation of component status setting