bugfix for non-executables 2