Fix query
Fix promise route and cleanup promise controller
deploy