code review
clean code
fixed: TMP
fixed: controller.custom()
updated: code
minify