fix the status functions with docker inspect