fixed logging and added fake cancel query route