fix undefined is modify