fixed a few windows bugs that were introduced during the cross-platform implementation of the value property