put reset in wrong place