bugfix for PATH