A slot machine installed at a video lottery terminal at Twin River casino in Rhode Island was a dream come true for gamblers. It gave out twice the amount of money as they had inserted.

The malfunctioning machine, supplied by the company Gtech, paid out a whooping $450,115 during two months since its installation in May. A faulty feature allowed patrons to get credit for double the amount of money they put in, with a maximum of a $100 credit for a $50 bill.

However, it was finally removed July 15 after the problem was discovered.

According to AP reports, Gtech has agreed to reimburse the money to the state and an investigation has been launched into the case to detect if any criminal activity occurred, company spokesman Robert Vincent said.