fixing black line bug