disable macro feature
timeout function moved to trait