fix to the depricated exptess api