fixed undefined function box