Fixed app attach
Updated