Fixed bug in paths with asterisks