fixes wrong extensions