fix the alert 'sorry, please login first'