freezing bug fixed