fixed bug
fixed problem if reload page