fix after deletion of deprecated