minor bug big fix