added some cache to speed up the process
do some use of slug variable
s fix