fixed ad display bug