fixed minor bug that made nothing work