cleanup and block for tablets