fixed bug in baseline