get rid of console warnings