fixed bug in periodical view