remove prev messages controller