wm availability is detected in constructor