sorted out getprop/setprop error handling