check for input before compression. fixes #7
make building easier