Bugfixes date and selectboxes