fixed bug in progress bar
added regression for different bases