bug fix and add print dimenisons