fixed some errors with high res impl