bugfix for full script