BUGFIX: fixed "no dimensions given" error