Thanks Steve, I changed common cathode for common anode display and now it works as expected!!