debugging to see what the UI is sending
fixing some values that were wrong
fixes bad data
Merge pull request #41 from fitoria/fix_ui_post_data

Fix ui post data