hacky fix for reset