precomp and paperclip fixes