bug fixed   to remove extension/brick folder