moved some warns to debug
logging improvements