fix alerts bug, fixed alert default bug, fixd dropdown bug