little bug fix with size types