bugfix mv undefined to empty