hard bug fixed