remove raw and replace hide function by filter