Bug fixes, limit file attachment size