fix bug credit