fixed frte to fite bug