fixed bug
another attempt at fixing this damn email thing