fix undefined size conditional error