closing blur properly