fixed silly js thing