debugging wrong size