Added error for wrong dimension value