fixed score length bug