change place of defined macro hotscan and remove package lineno loading