fix dimensions not getting passed in