check for incorrect extensions on init