BUGFIX for improper extensions