Got the uncompress function to work correctly.