(err) not able to get dimensions