remove testing stuff from attachment.php