removing attributes hack