fixed some warns, added blockAlertView