solve unusual situations

solve unusual situations