~ dealt with possible NullPointerException in products_management.