sprest-core fixes