Fixing all errors support to insert port from cmd