bug fixed resresh