major: bug extermination

- rewriting wp_date as substitute for as.Date - finished