fix console spam and database polling