corrected dim error due to bias