comment a mail debug option and fix getImages filter