Fix for dimensions not generating properly, should close #139