fix for html default value not working