handling case of no peer/container