fixed black-out problem