modified moisture_job.erl to compile