make status light functional