Fixed power invoke for all execpt the or condition
remvoing dead code