Fix paint program issues
Fix email bug