little bug with refresh