fixed a NullPointer on multiple components. added some temporary debugg
output