remove depricated configure block