add better debug
add better debug to midnights