api now sends 404 response if code not found
fixed notifications