Fix bug object extend

When compare with 0 returns false.. better to compare with !== undefined