fixed undefined value