empty path bugfix